/*
 * @Author: xiaosihan 
 * @Date: 2024-08-18 17:06:50 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-08-18 17:20:34
 */
import { observable, configure } from "mobx";
configure({ enforceActions: "never" });

export type RightPlaneTab = "question" | "attribute";

const rightPlaneStore = observable({

    show: true,
    setShow(show: boolean) {
        this.show = show;
    },

    // 当前选中的面板标签
    rightPlaneTab: "question" as RightPlaneTab,
    setRightPlaneTab(rightPlaneTab: RightPlaneTab) {
        this.rightPlaneTab = rightPlaneTab;
    },


});

export default rightPlaneStore;